package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by xu_jiaHui on 2017/10/30.
 */
@Entity
@Table(name = "tb_packet_info", schema = "hualude_db", catalog = "")
public class PacketInfoEntity {
    private Integer packetInfoId;
    private String ciphertext;
    private String timeStampCode;
    private String deviceId;
    private String bcc;
    private Integer infoType;
    private String portSequence;
    private String stateSequence;
    private String meterValueSequence;
    private String ipAddressFrom;
    private Integer portFrom;
    private String ipAddressTo;
    private Integer portTo;
    private String createTime;
    private String ruleSN;

    @Id
    @Column(name = "PacketInfoId")
    public Integer getPacketInfoId() {
        return packetInfoId;
    }

    public void setPacketInfoId(Integer packetInfoId) {
        this.packetInfoId = packetInfoId;
    }

    @Basic
    @Column(name = "Ciphertext")
    public String getCiphertext() {
        return ciphertext;
    }

    public void setCiphertext(String ciphertext) {
        this.ciphertext = ciphertext;
    }

    @Basic
    @Column(name = "TimeStampCode")
    public String getTimeStampCode() {
        return timeStampCode;
    }

    public void setTimeStampCode(String timeStampCode) {
        this.timeStampCode = timeStampCode;
    }

    @Basic
    @Column(name = "DeviceId")
    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    @Basic
    @Column(name = "BCC")
    public String getBcc() {
        return bcc;
    }

    public void setBcc(String bcc) {
        this.bcc = bcc;
    }

    @Basic
    @Column(name = "InfoType")
    public Integer getInfoType() {
        return infoType;
    }

    public void setInfoType(Integer infoType) {
        this.infoType = infoType;
    }

    @Basic
    @Column(name = "PortSequence")
    public String getPortSequence() {
        return portSequence;
    }

    public void setPortSequence(String portSequence) {
        this.portSequence = portSequence;
    }

    @Basic
    @Column(name = "StateSequence")
    public String getStateSequence() {
        return stateSequence;
    }

    public void setStateSequence(String stateSequence) {
        this.stateSequence = stateSequence;
    }

    @Basic
    @Column(name = "MeterValueSequence")
    public String getMeterValueSequence() {
        return meterValueSequence;
    }

    public void setMeterValueSequence(String meterValueSequence) {
        this.meterValueSequence = meterValueSequence;
    }

    @Basic
    @Column(name = "IpAddressFrom")
    public String getIpAddressFrom() {
        return ipAddressFrom;
    }

    public void setIpAddressFrom(String ipAddressFrom) {
        this.ipAddressFrom = ipAddressFrom;
    }

    @Basic
    @Column(name = "PortFrom")
    public Integer getPortFrom() {
        return portFrom;
    }

    public void setPortFrom(Integer portFrom) {
        this.portFrom = portFrom;
    }

    @Basic
    @Column(name = "IpAddressTo")
    public String getIpAddressTo() {
        return ipAddressTo;
    }

    public void setIpAddressTo(String ipAddressTo) {
        this.ipAddressTo = ipAddressTo;
    }

    @Basic
    @Column(name = "PortTo")
    public Integer getPortTo() {
        return portTo;
    }

    public void setPortTo(Integer portTo) {
        this.portTo = portTo;
    }

    @Basic
    @Column(name = "CreateTime")
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "ruleSN")
    public String getRuleSN() {
        return ruleSN;
    }

    public void setRuleSN(String ruleSN) {
        this.ruleSN = ruleSN;
    }
}
